<template>
  <van-swipe class="my-swipe"
             :autoplay="3000"
             indicator-color="white">
    <van-swipe-item v-for="item of list" :key="item.id">
      <img style="width: 100%" :src="item.image" alt="">
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
  props:{
    list:{
      type:Array,
      required:true
    }
  }
}
</script>

<style scoped>

</style>
